
<fieldset><legend>我的学习经历</legend>
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>开始时间</th>
		<th>完成时间</th>

		<th>学校名称</th>
		<th>专业</th>
		<th>学历</th>
	</tr>
	{[foreach name=outer key=key item=item from=$my]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.t1]}</td>
		<td>{[$item.t2]}</td>

		<td>{[$item.school]}</td>
		<td>{[$item.profession]}</td>
		<td>{[$item.degree]}</td>
	</tr>
	{[/foreach]}
</table>
</fieldset>

<fieldset><legend>添加学习经历</legend>
<form id="form_add" method="post" action="{[$root]}{[$postLink]}{[$p1]}{[$p2]}"><input type="hidden" name="id"
	value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td align="right">员工：</td>
		<td colspan="3">{[$emp.name]}({[$emp.id]})</td>
	</tr>
	<tr>
		<td align="right">期间：</td>
		<td colspan="3"><input type="text" name="t1" id="t1" size="10" value=""> 至 <input type="text" name="t2" id="t2" size="10" value=""></td>
	</tr>
	<tr>
		<td width="20%" align="right">学校名称：</td>
		<td width="30%"><input type="text" name="school" size="24" value=""></td>
		<td width="20%" align="right">专业：</td>
		<td width="30%"><input type="text" name="profession" size="16" value=""></td>
	</tr>
	<tr>
		<td align="right">所在地：</td>
		<td colspan="3"><input type="text" name="address" size="24" value=""></td>
	</tr>
	<tr>
		<td align="right">学历：</td>
		<td colspan="3"><input type="text" name="degree" id="degree" size="12" value=""> <select name='degree_t' id='degree_t'>
			{[html_options options=$degree_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" id="content" cols="55"></textarea></td>
	</tr>
</table>
</form>
</fieldset>

<script type="text/javascript" src="js/emp/education/add.js?r={[$smarty.now]}"></script>
